package com.spring.lth.mapper;

import com.spring.lth.domain.Person;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author 罗天豪
 * @date 2019/7/26
 */
@Mapper
public interface PersonMapper {
    Person selectPersonById(@Param("id") Long id);

    int insertPerson(@Param("person") Person person);

    int deletePerson(@Param("person") Person person);
}
